export default function getLocalMode() {
  if (localStorage.getItem("mode")) return localStorage.getItem("mode");
  else {
    localStorage.setItem("mode", "light");
    return "light";
  }
}
